package com.groovy.base.traitdemo

class TraitTest {
    static void main(String[] args) {
        Student st = new Student();
        st.StudentID = 1;
        st.Marks1 = 10;
        st.DisplayMarks()
        println(st.DisplayMarks());
    }
}
